package com.zsk.entity;

import com.zsk.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author keke
 * @since 2020-07-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("user_entity")
public class UserEntity extends BaseEntity {

private static final long serialVersionUID=1L;

    /**
     * 用户名
     */
    private String userName;

    /**
     * 密码
     */
    private String passWord;

    /**
     * 用户级别[0普通用户，1vip用户]
     */
    private Integer level;

    /**
     * 是否激活
     */
    private Integer active;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 盐
     */
    private String salt;

    /**
     * 电话
     */
    private String tel;

    private LocalDateTime createTime;


}
